<?php

    require_once( 'Ping.php' );

    use PHPK\Ping;

    $oPing = new Ping( 'google.com' );

    header( 'ContentType: application/json' );
    print json_encode( $oPing->connected );

?>
